.class Lcom/glympse/platform/ProviderSkyhook$MyTilingListener;
.super Ljava/lang/Object;
.source "ProviderSkyhook.java"

# interfaces
.implements Lcom/skyhookwireless/wps/TilingListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/glympse/platform/ProviderSkyhook;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "MyTilingListener"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/glympse/platform/ProviderSkyhook;


# direct methods
.method constructor <init>(Lcom/glympse/platform/ProviderSkyhook;)V
    .locals 0
    .parameter

    .prologue
    .line 342
    iput-object p1, p0, Lcom/glympse/platform/ProviderSkyhook$MyTilingListener;->this$0:Lcom/glympse/platform/ProviderSkyhook;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public tilingCallback(II)Lcom/skyhookwireless/wps/WPSContinuation;
    .locals 2
    .parameter "tileNumber"
    .parameter "tileTotal"

    .prologue
    .line 346
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "TilingListener.tilingCallback("

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ")"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 347
    iget-object v0, p0, Lcom/glympse/platform/ProviderSkyhook$MyTilingListener;->this$0:Lcom/glympse/platform/ProviderSkyhook;

    iget-boolean v0, v0, Lcom/glympse/platform/ProviderSkyhook;->m_fRunning:Z

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v1

    iget-object v1, v1, Lcom/glympse/platform/Platform;->m_oLocManager:Lcom/glympse/platform/LocManager;

    iget v1, v1, Lcom/glympse/platform/LocManager;->m_eLocProvider:I

    if-ne v0, v1, :cond_0

    .line 348
    sget-object v0, Lcom/skyhookwireless/wps/WPSContinuation;->WPS_CONTINUE:Lcom/skyhookwireless/wps/WPSContinuation;

    .line 347
    :goto_0
    return-object v0

    .line 348
    :cond_0
    sget-object v0, Lcom/skyhookwireless/wps/WPSContinuation;->WPS_STOP:Lcom/skyhookwireless/wps/WPSContinuation;

    goto :goto_0
.end method
